'''
Company: TWL
Author: xue jian
Email: xuejian@kanzhun.com
Date: 2020-10-30 17:38:34
'''
#
# @lc app=leetcode.cn id=481 lang=python3
#
# [481] 神奇字符串
#

# @lc code=start
class Solution:
    def magicalString(self, n: int) -> int:
        if n<=1:
            return n
        store = [1, 2]
        slow = 1
        while len(store)<n:
            tmp = store[slow]
            while tmp:
                
        
# @lc code=end

